package com.cyz.web.app.strategy;

import org.springframework.stereotype.Service;

@Service
public class GitHubLoginService implements LoginService{

    private static final String currentName = "github";

    @Override
    public String login(String username, String password) {
        System.out.println("登录github成功");
        return "登录github成功";
    }

    @Override
    public String getCurrentName() {
        return currentName;
    }
}
